package UserP;

import java.util.Scanner;

public class NormalUser extends  User{
    public Scanner scanner = new Scanner(System.in);
    public NormalUser(String name, int id) {
        super(name, id, "普通用户");
    }


    @Override
    public int display() {
        System.out.println("普通用户" + getName() + "的菜单");
        System.out.println("1.查找图书");
        System.out.println("2.打印所有图书");
        System.out.println("3.借阅图书");
        System.out.println("4.归还图书");
        System.out.println("5.查看借阅状态");
        System.out.println("退出系统");
        System.out.println("请选择你的操作");
        return scanner.nextInt();
    }
    //借阅图书
    public void borrowBook() {}
    //归还图书
    public void returnBook() {}
    //查看借阅状态
    public void viewborrowBooks(){}
}
